export const column = [
  {
    title: '序号',
    dataIndex: 'id',
    key: 'id',
  },
  {
    title: '会员名称',
    dataIndex: 'name',
    key: 'name'
  },
  {
    title: '消费金额',
    dataIndex: 'order_sum_payment_amount',
    key: 'order_sum_payment_amount',
  },
  {
    title: '订单数量',
    dataIndex: 'order_count',
    key: 'order_count',
  },
  {
    title: '办理时间',
    dataIndex: 'register_at',
    key: 'register_at',
  },
  {
    title: '所属门店',
    dataIndex: 'store',
    key: 'store',
    scopedSlots: { customRender: 'store' },
  },
  {
    title: '手机号码',
    dataIndex: 'phone',
    key: 'phone'
  },
  {
    title: '上次交易时间',
    dataIndex: 'order_last',
    key: 'order_last',
    scopedSlots: { customRender: 'order_last' },
  },
  {
    title: '操作',
    dataIndex:'area_no',
    key:'area_no',
    scopedSlots: { customRender: 'area_no' }
  }
];
export const appendData = [

  {
    name:'姓名',
    type:'input',
    val:'',
    must:true,
    place:'请输入姓名',
    key:'name'
  },
  {
    name:'手机号码',
    type:'input',
    val:'',
    must:true,
    place:'请输入手机号码',
    key:'phone'
  },
  {
    name:'所属门店',
    type:'select',
    val:'',
    must:true,
    place:'请选择所属门店',
    key:'store_no',
    selectData:[],
    nameKey:'name',
    idKey:'store_no'
  },
  {
    name:'性别',
    type:'radio',
    val:'1',
    must:true,
    place:'请选择性别',
    key:'sex',
    selectData:[],
    nameKey:'name',
    idKey:'area_no'
  },
  {
    name:'验证码',
    type:'code',
    val:'',
    must:true,
    place:'输入验证码',
    key:'captcha',
  },
  {
    name:'来源渠道',
    type:'select',
    val:'',
    must:true,
    place:'请选择来源',
    key:'channel_source_id',
    nameKey:'name',
    idKey:'id',
    selectData:[]
  },
  {
    name:'管家客服',
    type:'select',
    val:'',
    must:true,
    place:'请选择客服',
    key:'steward_staff_no',
    nameKey:'name',
    idKey:'job_no',
    selectData:[]
  },
  {
    name:'推荐人',
    type:'input',
    val:'',
    must:true,
    place:'请输入推荐人',
    key:'referrer',
    nameKey:'name',
    idKey:'id',
    selectData:[]
  },
  {
    name:'开卡人',
    type:'select',
    val:'',
    must:true,
    place:'请选择开卡人',
    key:'open_card_staff_no',
    nameKey:'name',
    idKey:'job_no',
    selectData:[]
  },
  {
    name:'微信客服',
    type:'select',
    val:'',
    must:true,
    place:'请选择客服',
    key:'wechat_staff_no',
    nameKey:'name',
    idKey:'job_no',
    selectData:[]
  },
  {
    name:'生日',
    type:'birth',
    val:'',
    must:false,
    place:'请选择出生日期',
    key:'birthday',
  },
  {
    name:'地址',
    place:'请选择省市区',
    key:'address',
    type:'cascader',
    street:'',
    must:true,
    val:[],
    selectData:[],
  }
];
